<html>
<head><title>Accept/Deny Pending Announcements</title>
<link rel="stylesheet" type="text/css" href="css/Default.css" />
<Script language="javascript" src="data/password.js"></script>
<Script language="javascript" src="exec/login.js"></script>
<noscript>
location.href="noscript.html";
</noscript>
<SCRIPT LANGUAGE="JavaScript">

	window.onload = redir(0);

//name of cookie: 'eomdmf'

</SCRIPT>
</head>
<br>
<center><h1>Pending News</h1><center>
<br>
<body>

<center><p style="font-family: Arial; font-size:20px">Pending news are displayed 
in the box below and can be edited.<br> If you would like to accept an announcement, leave it in the text box.
If you want to remove an announcement, delete it. When you are satisfied with what is going to be posted, click "Submit News"<br> If you would like to add an event, please write it on a new line and then click "Submit Event"</p><center>
Month names allowed: '<b>Jan, Feb, March, April, May, June, July, Aug, Sept, Oct, Nov, Dec</b>'
</center>
<form method="POST" action="Submit_P_Newsfeed.php"> 

<center>
<label for="NewsFeed"><span class="req"></span></label>
<textarea name="NewsFeed" id="NewsFeed" rows="20" cols="70" style="color:000000; font-family: Arial;border: 2px solid black;"><?php 
$i=0;
$fh = fopen("data/pending_n.txt", "r");
while(!feof($fh))
{
	$item[$i]=fgets($fh);
	echo $item[$i];
	$i++;
}
fclose($fh);
?></textarea>
<br><br>
</center>
<center><input id="subbut" type="submit" value="Submit Event"></center>
</form>

<FORM METHOD="LINK" ACTION="index.html">
<INPUT TYPE="submit" VALUE="Home Page">
</FORM>
		
<FORM METHOD="LINK" ACTION="LoggedIn.php">
<INPUT TYPE="submit" VALUE="Return to Main Menu">
</FORM>
</body>
</html>
